package ca.seia.comp6521.a2.itemsetstorage;

import java.io.IOException;
import java.util.List;

import ca.seia.comp6521.a2.io.DataFileWriter;

public interface CountStorage<T> {

	public void addCount(T items) ;
	
	public int getCount(T items) ;
	
	public void delete(T items);
	
	public int getNumberOfItemsInStorage();
	
	public void removeInfrequentItems(int support) ;
	
	public void removeInfrequentPairsAndWriteToDisk(int support, DataFileWriter fileWriter) throws IOException ;
	
	public List<T> generateCandidateFrequentItemsForNextPass(int nextPassNumber) ;
	
	@Override
	public String toString();
	
}
